﻿using Newtonsoft.Json;

namespace NGM.MicrosoftConnect {
    public sealed class MicrosoftConnectOAuthResponse {
        [JsonProperty("access_token")]
        public string AccessToken { get; set; }

        [JsonProperty("access_code")]
        public string AccessCode { get; set; }

        [JsonProperty("code")]
        public string Code { get; set; }

        [JsonProperty("expires_in")]
        public string ExpiresIn { get; set; }

        [JsonProperty("refresh_token")]
        public string RefreshToken { get; set; }

        [JsonProperty("scope")]
        public string Scopes { get; set; }

        [JsonProperty("state")]
        public string State { get; set; }

        [JsonProperty("token_type")]
        public string TokenType { get; set; }
    }
}